package cn.edu.cdp.dumpling.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Time;
import java.time.LocalDateTime;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderList {
    private Integer id;
    private Integer pickupCode;
    private LocalDateTime paymentTime;
    private LocalDateTime completeTime;
    private Double totalAmount;
    private Integer consumerId;
    private Integer rate;   // 评分
    private Integer deleted;
    @TableField(exist = false)
    private List<OrderDetail> orderDetailList;
}
